package com.cz.video.website.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cz.video.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 收藏表和收藏夹表的关联表
 * </p>
 *
 * @author yr
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("website_collect_and_folder")
@Schema(description="收藏表和收藏夹表的关联表")
public class WebsiteCollectAndFolder implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema( description = "收藏主键")
    @TableId(value = "collect_id", type = IdType.AUTO)
    private Long collectId;

    @Schema( description = "收藏夹主键")
    private Long collectFolderId;

    @Schema( description = "用户id")
    private Long userId;
}
